package com.yixin.hospital.entity.dto.req.userIpWhiteList;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@ApiModel("编辑用户ip白名单请求体")
@Data
public class UserIpWhiteListEditReqDTO {

    @ApiModelProperty("主键")
    @NotNull(message = "主键不能为空")
    private Long id;

    @ApiModelProperty("用户id")
    private Long userId;
}
